#ifndef REPORT_H
#define REPORT_H

#include <ActiveQt/QAxObject>
#include <ActiveQt/QAxBase>
#include <QDebug>
#include <stdio.h>

class report
{
public:
    report();
    ~report();
    void run();
   void add(int row,int col,QString data);
   void insertRow(int col);
   void addBook();
   void print();
   QStringList getListsName();
   void openBook(QString adr);
  static  QString  MYtr(const char* qwe);
    QAxObject *mExcel;
    QAxObject *workbooks;
    QAxObject *workbook;
    QAxObject *mSheets;
    QAxObject *StatSheet;
bool openList(QString name);
};

#endif // REPORT_H
